package com.huawei.appgallery.search.ui.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout.LayoutParams;
import com.huawei.appgallery.search.ui.card.BaseCompositeCard;
import com.huawei.appgallery.search.ui.card.SearchSpecialTopicMoreCard;
import o.azb;
import o.cuv.b;
import o.cuv.e;

public class SearchSpcialTopicMoreNode extends BaseCompositeNode {
    public SearchSpcialTopicMoreNode(Context context) {
        super(context);
    }

    protected View ˎ() {
        View inflate = LayoutInflater.from(this.ॱ).inflate(e.ʽ, null);
        azb.ˏ(inflate, b.ˈॱ);
        View findViewById = inflate.findViewById(b.ॱˎ);
        if (findViewById != null) {
            LayoutParams layoutParams = (LayoutParams) findViewById.getLayoutParams();
            layoutParams.setMarginStart(azb.ˊ(this.ॱ));
            layoutParams.setMarginEnd(azb.ˏ(this.ॱ));
            findViewById.setLayoutParams(layoutParams);
        }
        return inflate;
    }

    public BaseCompositeCard ˋ() {
        return new SearchSpecialTopicMoreCard(this.ॱ);
    }
}
